package com.huatai.datacenter.entity.subject;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author gusiyi
 * @version 1.0
 * @className SubjectNodeVO
 * @description 描述：
 * @date 2023/6/7 14:15
 */
@Data
@ApiModel(value = "主题数据集树结构返回类",description = "主题数据集树结构返回类")
public class SubjectNodeVO {

	@ApiModelProperty("节点id")
	private Long id;

	@ApiModelProperty("父节点id")
	private Long parentId;

	@ApiModelProperty("父节点名称")
	@TableField(exist = false)
	private String parentName;

	@ApiModelProperty("节点类型")
	private String nodeType;

	@ApiModelProperty("节点名称")
	private String nodeName;

	@ApiModelProperty("子节点集合")
	private List<SubjectNodeVO> children;

}
